import request from '@/utils/request'

export function getShopList(query) {
  return request({
    url: '/supply/shop/getList',
    method: 'post',
    data: query
  })
}

export function getShopDetail(id) {
  return request({
    url: '/supply/shop/getDetail',
    method: 'post',
    data: id
  })
}

export function saveShop(formdata) {
  return request({
    url: '/supply/shop/save',
    method: 'post',
    data: formdata
  })
}
export function changeStatusByshopID(id) {
  return request({
    url: '/supply/shop/change-status',
    method: 'post',
    data: id
  })
}

export function removeShopByID(id) {
  return request({
    url: '/supply/shop/remove',
    method: 'post',
    data: id
  })
}

